function [Shuffled_PV_Structure] = Pull_Out_Shuffled_PV_Single_Session(Data_Summary, Row_Number)

% pull out shuffled PV values first (with the appropriate rotation angle)
Shuffled_PV = Data_Summary(Row_Number).Shuffled_PV_Dist;
Shuffled_PV = Shuffled_PV(:,:,1);
Shuffled_PV = Shuffled_PV(:);
Shuffled_PV(isnan(Shuffled_PV)) = [];

% make a structure that summarizes useful experimental conditions
Shuffled_PV_Structure_Original = struct(...
    'session', Row_Number,...
    'genotype', Data_Summary(Row_Number).genotype,...
    'animal_ID', Data_Summary(Row_Number).animalName,...
    'expt_date', Data_Summary(Row_Number).dateToFind,...
    'drug', Data_Summary(Row_Number).drug,...
    'session1_dose', Data_Summary(Row_Number).session1_dose,...
    'session2_dose', Data_Summary(Row_Number).session2_dose,...
    'exptParadigm', Data_Summary(Row_Number).exptParadigm,...
    'session1_mobility_pass', Data_Summary(Row_Number).Mobility_Session1_Pass,...
    'session2_mobility_pass', Data_Summary(Row_Number).Mobility_Session2_Pass);
Shuffled_PV_Structure = Shuffled_PV_Structure_Original;

% duplicate this structure for N times, where N is the number of non-NAN PV correlation values in
% that session
for n = 1:(size(Shuffled_PV,1)-1)
    Shuffled_PV_Structure = cat(1, Shuffled_PV_Structure, Shuffled_PV_Structure_Original);
end

% Now put all PV values into that structure
for n = 1:size(Shuffled_PV_Structure,1)
    Shuffled_PV_Structure(n).Shuffled_PV_values = Shuffled_PV(n,1);
end


end